<?php

/**
 * Controller.php
 *
 * Holds abstract class Controller
 *
 * @package Application
 * @subpackage Controllers
 */

/**
 * Controller
 *
 * Application specific base controller
 *
 * @package Application
 * @subpackage Controllers
 */
abstract class Controller extends Mvc_Controller_Base {

	//	protected $content_type_header = 'application/xhtml+xml; charset=ISO-8859-1';
	protected $content_type_header = 'text/html; charset=ISO-8859-1';

	/**
	 * Initializes page
	 *
	 * @return Controller (fluent interface)
	 */
	public function init() {
		// Set output type
		$this->getResponse()->setHeader('Content-type', $this->content_type_header);

		return $this;
	}
}
